<?php

namespace App\Http\Requests\Admin\Blacklist;
use App\Http\Requests\Request;
use Illuminate\Support\Facades\Input;

class CreateRequest extends Request{
    public function authorize(){
        return true;
    }
    public function rules(){
        return [
            'ip' => 'required',
        ];
    }
    public function messages(){
        return [
            'ip.required' => 'ip名称必须填写',
        ];
    }
}